package xfsale.service.impl.j2ee;

import xfsale.packet.SysDictRequest;
import xfsale.packet.SysDictResponse;

public final class SysDict extends BaseService {

	private SysDictRequest request;
	private SysDictResponse response;

	public SysDict(SysDictRequest request, SysDictResponse response) {
		super(request, response);

		this.request = request;
		this.response = response;

		response.returnCode = "0000";
		response.returnMsg = "获取系统字典成功";
	}

	//功能处理
    @Override
	protected void process() throws Exception {
		//初始化系统字典
		sys.initDict();
		response.dictItems = sys.getDictItems();
	}

}